package com.company.oa.workflow.entity.document;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("wf_document")
public class Document {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private String processInstanceId;
    
    private String title;
    
    private String content;
    
    private Integer documentType;
    
    private String issuingDepartment;
    
    private Date issuingDate;
    
    private String attachmentPath;
    
    private Integer status;
    
    private String currentApprover;
    
    private Long issuingUserId;
    
    private Date issuingTime;
    
    private Date archiveTime;
    
    private Long creatorId;
    
    private Date createTime;
    
    private Date updateTime;
} 